Parent.prototype.say = 'DAMN!'
function Parent (){
    this.name = 'Ro9nin'
    this.like = ['CS','APEX']
}

Child.prototype = Parent.prototype    //new Parent()
function Child (){
    Parent.call(this)
    this.age = 18
}
Child.prototype.eat = 'FOOD'

let c = new Child()
let c2 = new Child()
c.like.push('Valorant')
console.log(c2.like);
